﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Index.aspx.cs" Inherits="UserTalkHouse_Index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link rel="Stylesheet" type="text/css" href="../Styles/right_style.css" />
    <script type="text/javascript" src="../Scripts/jquery.ui/js/jquery.js"></script>
    <style type="text/css"> 
        <!--
        html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
        scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
        -->
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="sub_right_top">
        <div class="hdm_header">
            <div class="tb1_on">
                <h2 class="h2_icon">
                    聊天室列表</h2>
            </div>
            <div class="clear">
            </div>
        </div>
        <div class="hdm_footer">
            <asp:Repeater ID="DataList1" runat="server" OnItemDataBound="DataList1_ItemDataBound">
                <HeaderTemplate>
                    <table width="99%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#77acd0"
                        style="border-collapse: collapse;">
                        <tr align="center" height="30px" bgcolor="#b1d5ef">
                            <td>
                                <asp:Label ID="Label2" runat="server" Text="聊天室列表"></asp:Label>
                            </td>
                            <td>
                            </td>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr align="center" height="20px">
                        <td style="word-break: break-all">
                            <asp:Label ID="Label6" runat="server" Text='<%# Eval("TalkHouseName") %>' Width="212px"></asp:Label>
                        </td>
                        <td style="width: 105px;">
                            <asp:LinkButton ID="LbtIn" runat="server" OnClick="LbtIn_Click" thl_Id='<%# Eval("TalkHouseId") %>'>进入</asp:LinkButton>
                            <input id="HidThld" runat="server" type="hidden" value='<%# Eval("TalkHouseId") %>' />
                            <asp:Label ID="LblState" runat="server" Text="未开放" ForeColor="red" Visible="false"></asp:Label>
                            <input id="HidState" type="hidden" runat="server" value='<%# Eval("TalkHouseOpenState") %>' />
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
            <div style="height: 15px; overflow: hidden;">
            </div>
        </div>
    </div>
    </form>
</body>
</html>
